package cn.zhangxin.newyear.system.department.service;

import cn.zhangxin.newyear.base.query.BaseQuery;
import cn.zhangxin.newyear.system.department.domain.Department;
import cn.zhangxin.newyear.base.service.IBaseService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author zx
 * @since 2023-01-15
 */
public interface IDepartmentService extends IBaseService<Department> {

    /* 获得部门树 */
    List<Department> getTree();
    /* 重写添加方法 */

    @Override
    void add(Department department);
    //批量新增
    void batchAdd(List<Department> depts);
}
